<?php
namespace app\admin\model;
use think\Model;

//客户模型
class User extends Model
{
    public function getFieldArr($field){
        return $this->column($field);
    }

    public function addAll($data){
        return $this->allowField(true)->saveAll($data);
    }
}
